package com.qfjy.service.impl;

import com.qfjy.entity.po.WeiUser;
import com.qfjy.mapper.WeiUserMapper;
import com.qfjy.service.WeiUserService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class WeiUserServiceImpl implements WeiUserService {
    @Autowired
    private WeiUserMapper weiUserMapper;
    @Override
    public WeiUser selectWeiUserByOpenid(String openid) {
        return weiUserMapper.selectWeiUserByOpenid(openid);
    }

    @Override
    public int insertSelective(WeiUser record) {
        return weiUserMapper.insertSelective(record);
    }

}
